import request from "@/utils/request";

export default {
  //根据手机号码发送短信
  getMail(mail) {
    return request({
      url: `/api/ucenter/mail/send/${mail}`,
      method: "get"
    });
  },
  //用户注册
  submitRegister(formItem) {
    return request({
      url: `/api/ucenter/user/register`,
      method: "post",
      data: formItem
    });
  }
};
